package com.ysh.service;

import com.ysh.pojo.Crimes;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ysh.pojo.R;

/**
* @author 嚴嚴嚴
* @description 针对表【crimes】的数据库操作Service
* @createDate 2023-12-11 17:52:53
*/
public interface CrimesService extends IService<Crimes> {

    /**
     *       - 按年份统计每年风险指数最高的3个城市
     * @return
     */
    R risk();

    R add(Crimes crimes);
}
